<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
    



<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link
	href="/css/ui-lightness/jquery-ui-1.10.3.custom.css"
	rel="stylesheet">


	<script src="/js/jquery-1.9.1.js"></script>
	<script
		src="/js/jquery-ui-1.10.3.custom.js"></script>

	<script src="js/home.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>

<form:form method="POST" commandName="publicHoliday" action="${pageContext.request.contextPath}/publicholiday/create.html" >
<table>
<tbody>
<tr>
<td>Date:</td>
<td> <form:input type="text" path="date" id="date" /> 
</td>
<td><form:errors path="date" cssStyle="color: red;"/></td>
</tr>
<tr>
<td>Event Name:</td>
<td><form:input path="nameOfEvent" /></td>
<td><form:errors path="nameOfEvent" cssStyle="color: red;"/></td>
</tr>
<tr>
<td><input type="submit" value="Create" /></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</form:form>

</body>
</html>